<?php
/** @var Controller $this */
/** @var mail $model */
?>

<div >
    <?php
    $form = $this->beginWidget('ext.AweCrud.components.AweActiveForm', array(
        'type' => 'horizontal',
        'id' => 'reporteIMCForm',
    ));
    ?>
    //<?php // echo $form->errorSummary($model) ?>
    <div class="span12">
        <!-- BEGIN widget-->
        <div class="widget ">
            <div class="widget-body form">
                <?php if ($generar == 'GENERAR' && $cnt != 0): ?>
                    <div class="row-fluid">
                        <?php $this->renderPartial('_reporte', array('reporte' => $reporte)) ?>
                    </div>
                <?php else: ?>
                    <div class="span1"></div>
                    <center>
                        <div class="row-fluid"></div>
                        <div class="alert alert-block alert-info fade in">
                            <h4 class="alert-heading">Alerta!</h4>
                            <p>
                                Error
                            </p>
                        </div>
                    </center>

                <?php endif; ?>
            </div>
        </div>
        <!--End Widget-->
    </div>
    <?php $this->endWidget(); ?>
</div>



